package com.top10.entity;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 *
 * </p>
 *
 * @author ellen
 * @since 2018-09-27
 */
@TableName("tb_shop")
public class Shop extends Model<Shop> {

    private static final long serialVersionUID = 1L;

    /**
     * 序号
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    /**
     * 唯一标识码
     */
    private String uuid;
    /**
     * 父级店uuid
     */
    @TableField("parent_uuid")
    private String parentUuid;
    /**
     * 用户uuid
     */
    @TableField("user_uuid")
    private String userUuid;
    /**
     * 供应商uuid
     */
    @TableField("for_uuid")
    private String forUuid;
    /**
     * 商店名称
     */
    private String name;
    /**
     * 商店联系人
     */
    private String contacts;
    /**
     * 电子邮箱
     */
    private String email;
    /**
     * 联系电话
     */
    private String telephone;
    /**
     * 联系手机
     */
    private String cellphone;
    /**
     * 简要描述
     */
    private String description;
    /**
     * 本店承诺
     */
    private String promise;
    /**
     * 商标
     */
    private String logo;
    /**
     * 访问链接
     */
    private String url;
    /**
     * 省份
     */
    private String province;
    /**
     * 城市
     */
    private String city;
    /**
     * 区县
     */
    private String district;
    /**
     * 街道
     */
    private String street;
    /**
     * 详细地址
     */
    @TableField("detailed_address")
    private String detailedAddress;
    /**
     * 省份id
     */
    @TableField("province_id")
    private Integer provinceId;
    /**
     * 城市id
     */
    @TableField("city_id")
    private Integer cityId;
    @TableField("district_id")
    private Integer districtId;
    /**
     * 身份证号码
     */
    @TableField("idcard_number")
    private String idcardNumber;
    /**
     * 身份证
     */
    private String idcard;
    /**
     * 营业执照
     */
    @TableField("business_licence")
    private String businessLicence;
    /**
     * 开户人
     */
    @TableField("account_holder")
    private String accountHolder;
    /**
     * 银行名称
     */
    @TableField("bank_name")
    private String bankName;
    /**
     * 银行账户
     */
    @TableField("bank_account")
    private String bankAccount;
    /**
     * 支付宝账号
     */
    private String alipay;
    /**
     * 0自营店,:1合作商家,2合作结算商家,3配送商,4供应商,5代理商
     */
    @TableField("shop_type")
    private Integer shopType;
    /**
     * 产业类型
     */
    @TableField("industry_category_uuid")
    private String industryCategoryUuid;
    /**
     * 状态：0待审批、1同意、2拒绝
     */
    private Integer status;
    /**
     * 是否删除
     */
    private Boolean isdeleted;
    /**
     * 创建时间
     */
    private Date createtime;
    /**
     * 更新时间
     */
    private Date updatetime;
    /**
     * 创建者
     */
    private String creator;
    /**
     * 修改者
     */
    private String mender;
    private String idcard2;
    @TableField("tax_permit")
    private String taxPermit;
    @TableField("organization_permit")
    private String organizationPermit;
    @TableField("bank_permit")
    private String bankPermit;
    /**
     * 是否推荐该商家
     */
    private Boolean isRecommend;
    /**
     * 是否缴纳
     */
    @TableField("whether_margin")
    private Integer whetherMargin;
    private Integer isBZJ;
    /**
     * 小能客服，商户ID
     */
    private String sellerid;
    /**
     * 接待组ID
     */
    private String settingid;
    /**
     * 小能客服登录账号
     */
    @TableField("xn_account")
    private String xnAccount;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUuid() {
        return uuid;
    }

    public void setUuid(String uuid) {
        this.uuid = uuid;
    }

    public String getParentUuid() {
        return parentUuid;
    }

    public void setParentUuid(String parentUuid) {
        this.parentUuid = parentUuid;
    }

    public String getUserUuid() {
        return userUuid;
    }

    public void setUserUuid(String userUuid) {
        this.userUuid = userUuid;
    }

    public String getForUuid() {
        return forUuid;
    }

    public void setForUuid(String forUuid) {
        this.forUuid = forUuid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getContacts() {
        return contacts;
    }

    public void setContacts(String contacts) {
        this.contacts = contacts;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getTelephone() {
        return telephone;
    }

    public void setTelephone(String telephone) {
        this.telephone = telephone;
    }

    public String getCellphone() {
        return cellphone;
    }

    public void setCellphone(String cellphone) {
        this.cellphone = cellphone;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getPromise() {
        return promise;
    }

    public void setPromise(String promise) {
        this.promise = promise;
    }

    public String getLogo() {
        return logo;
    }

    public void setLogo(String logo) {
        this.logo = logo;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getDistrict() {
        return district;
    }

    public void setDistrict(String district) {
        this.district = district;
    }

    public String getStreet() {
        return street;
    }

    public void setStreet(String street) {
        this.street = street;
    }

    public String getDetailedAddress() {
        return detailedAddress;
    }

    public void setDetailedAddress(String detailedAddress) {
        this.detailedAddress = detailedAddress;
    }

    public Integer getProvinceId() {
        return provinceId;
    }

    public void setProvinceId(Integer provinceId) {
        this.provinceId = provinceId;
    }

    public Integer getCityId() {
        return cityId;
    }

    public void setCityId(Integer cityId) {
        this.cityId = cityId;
    }

    public Integer getDistrictId() {
        return districtId;
    }

    public void setDistrictId(Integer districtId) {
        this.districtId = districtId;
    }

    public String getIdcardNumber() {
        return idcardNumber;
    }

    public void setIdcardNumber(String idcardNumber) {
        this.idcardNumber = idcardNumber;
    }

    public String getIdcard() {
        return idcard;
    }

    public void setIdcard(String idcard) {
        this.idcard = idcard;
    }

    public String getBusinessLicence() {
        return businessLicence;
    }

    public void setBusinessLicence(String businessLicence) {
        this.businessLicence = businessLicence;
    }

    public String getAccountHolder() {
        return accountHolder;
    }

    public void setAccountHolder(String accountHolder) {
        this.accountHolder = accountHolder;
    }

    public String getBankName() {
        return bankName;
    }

    public void setBankName(String bankName) {
        this.bankName = bankName;
    }

    public String getBankAccount() {
        return bankAccount;
    }

    public void setBankAccount(String bankAccount) {
        this.bankAccount = bankAccount;
    }

    public String getAlipay() {
        return alipay;
    }

    public void setAlipay(String alipay) {
        this.alipay = alipay;
    }

    public Integer getShopType() {
        return shopType;
    }

    public void setShopType(Integer shopType) {
        this.shopType = shopType;
    }

    public String getIndustryCategoryUuid() {
        return industryCategoryUuid;
    }

    public void setIndustryCategoryUuid(String industryCategoryUuid) {
        this.industryCategoryUuid = industryCategoryUuid;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Boolean getIsdeleted() {
        return isdeleted;
    }

    public void setIsdeleted(Boolean isdeleted) {
        this.isdeleted = isdeleted;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public Date getUpdatetime() {
        return updatetime;
    }

    public void setUpdatetime(Date updatetime) {
        this.updatetime = updatetime;
    }

    public String getCreator() {
        return creator;
    }

    public void setCreator(String creator) {
        this.creator = creator;
    }

    public String getMender() {
        return mender;
    }

    public void setMender(String mender) {
        this.mender = mender;
    }

    public String getIdcard2() {
        return idcard2;
    }

    public void setIdcard2(String idcard2) {
        this.idcard2 = idcard2;
    }

    public String getTaxPermit() {
        return taxPermit;
    }

    public void setTaxPermit(String taxPermit) {
        this.taxPermit = taxPermit;
    }

    public String getOrganizationPermit() {
        return organizationPermit;
    }

    public void setOrganizationPermit(String organizationPermit) {
        this.organizationPermit = organizationPermit;
    }

    public String getBankPermit() {
        return bankPermit;
    }

    public void setBankPermit(String bankPermit) {
        this.bankPermit = bankPermit;
    }

    public Boolean getRecommend() {
        return isRecommend;
    }

    public void setRecommend(Boolean isRecommend) {
        this.isRecommend = isRecommend;
    }

    public Integer getWhetherMargin() {
        return whetherMargin;
    }

    public void setWhetherMargin(Integer whetherMargin) {
        this.whetherMargin = whetherMargin;
    }

    public Integer getIsBZJ() {
        return isBZJ;
    }

    public void setIsBZJ(Integer isBZJ) {
        this.isBZJ = isBZJ;
    }

    public String getSellerid() {
        return sellerid;
    }

    public void setSellerid(String sellerid) {
        this.sellerid = sellerid;
    }

    public String getSettingid() {
        return settingid;
    }

    public void setSettingid(String settingid) {
        this.settingid = settingid;
    }

    public String getXnAccount() {
        return xnAccount;
    }

    public void setXnAccount(String xnAccount) {
        this.xnAccount = xnAccount;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "Shop{" +
                "id=" + id +
                ", uuid='" + uuid + '\'' +
                ", parentUuid='" + parentUuid + '\'' +
                ", userUuid='" + userUuid + '\'' +
                ", forUuid='" + forUuid + '\'' +
                ", name='" + name + '\'' +
                ", contacts='" + contacts + '\'' +
                ", email='" + email + '\'' +
                ", telephone='" + telephone + '\'' +
                ", cellphone='" + cellphone + '\'' +
                ", description='" + description + '\'' +
                ", promise='" + promise + '\'' +
                ", logo='" + logo + '\'' +
                ", url='" + url + '\'' +
                ", province='" + province + '\'' +
                ", city='" + city + '\'' +
                ", district='" + district + '\'' +
                ", street='" + street + '\'' +
                ", detailedAddress='" + detailedAddress + '\'' +
                ", provinceId=" + provinceId +
                ", cityId=" + cityId +
                ", districtId=" + districtId +
                ", idcardNumber='" + idcardNumber + '\'' +
                ", idcard='" + idcard + '\'' +
                ", businessLicence='" + businessLicence + '\'' +
                ", accountHolder='" + accountHolder + '\'' +
                ", bankName='" + bankName + '\'' +
                ", bankAccount='" + bankAccount + '\'' +
                ", alipay='" + alipay + '\'' +
                ", shopType=" + shopType +
                ", industryCategoryUuid='" + industryCategoryUuid + '\'' +
                ", status=" + status +
                ", isdeleted=" + isdeleted +
                ", createtime=" + createtime +
                ", updatetime=" + updatetime +
                ", creator='" + creator + '\'' +
                ", mender='" + mender + '\'' +
                ", idcard2='" + idcard2 + '\'' +
                ", taxPermit='" + taxPermit + '\'' +
                ", organizationPermit='" + organizationPermit + '\'' +
                ", bankPermit='" + bankPermit + '\'' +
                ", isRecommend=" + isRecommend +
                ", whetherMargin=" + whetherMargin +
                ", isBZJ=" + isBZJ +
                ", sellerid='" + sellerid + '\'' +
                ", settingid='" + settingid + '\'' +
                ", xnAccount='" + xnAccount + '\'' +
                '}';
    }
}
